home *** CD-ROM | disk | FTP | other *** search
/ CD Ware Multimedia 1995 May / cd Ware (Juegos) Epimundo.iso / DOS / UT_SYSTM / OS9MAX.ZIP / BATCH.BAT < prev    next >
Encoding:
DOS Batch File  |  1994-11-17  |  1.4 KB  |  24 lines

  1. @echo off
  2.  
  3.   echo ┌──────────────────────────────────────────────────────────────────────┐
  4.   echo │ Example for a redirected input/output                                │
  5.   echo │ OS9MAX can read all commands from a script or procedure file         │
  6.   echo ├──────────────────────────────────────────────────────────────────────┤
  7.   echo │ Beispiel für Steuerung des Programmablaufes über eine Batchdatei     │
  8.   echo │                                                                      │
  9.   echo │ Die Befehlssequenz (Makro) befindet sich in der Datei 'batch.cmd'    │
  10.   echo │ und soll automatisch abgearbeitet werden. Die OS-9 Diskette befindet │
  11.   echo │ sich im Laufwerk B:                                                  │
  12.   echo ├──────────────────────────────────────────────────────────────────────┤
  13.   echo │ Startup:        os9max [drive:] {[diskformat] [macrofile]}           │
  14.   echo └──────────────────────────────────────────────────────────────────────┘
  15.  
  16.   REM  os9max b: 38w7 ''format -p''     (execute a command)
  17.   REM  os9max b: 38w7 ''format -p'' /z- (execute a command and redirect output)
  18.  
  19.   REM  os9max b: auto                   (input from keyb, output to screen)
  20.   REM  os9max b: auto batch.cmd         (input from file, output to screen)
  21.   REM  os9max b: auto batch.cmd /z-     (input from file, output to file)
  22.  
  23.   os9max b: auto batch.cmd
  24.